package com.FFF;

public class BookTest {
    public static void main(String[] args) {

        Book book = new Book();

        String info = book.getBookInfo();//获取图书信息

//        System.out.println(info);

        String bookNameSetBefore = book.getBookName();
        System.out.println("----·--··-----·----·-----··----");
//        System.out.println(bookNameSetBefore);

        book.setBookName("我从未如此眷恋人间");

        String bookNameSetAfter = book.getBookName();
        System.out.println(bookNameSetAfter);
        System.out.println("---··--·----·------··------··---");
        book.setPrice(39.9);
        book.setAuthor("史铁生、汪曾祺");
        book.setPublisher("新华出版社");


        System.out.println(book.getBookInfo());

    }
}
